Query feature vectors via common DQL filter, sort, limit etc. Querying supports joins on items and annotations, sorting only available by "eu_dist" field. The route also could calculate euclid distance using $euclid operator, for details see examples. Lowest role to successfully query Feature vector is Annotation manager, all below will got thrown 403.
query to filter features by
Ok
{- "filter": {
- "property1": null,
- "property2": null
}, - "limit": 0,
- "join": {
- "on": {
- "forigen": "string",
- "local": "string",
- "resource": "items"
}
}, - "references": {
- "operation": "create",
- "refs": [
- {
- "id": "string",
- "type": "string"
}
], - "index": 0
}, - "sort": {
- "property1": "ascending",
- "property2": "ascending"
}, - "select": {
- "property1": 0,
- "property2": 0
}, - "update": {
- "property1": null,
- "property2": null
}, - "delete": true,
- "user": "string",
- "systemSpace": true,
- "queryEngine": "mongo",
- "resource": "items",
- "skip": 0,
- "datasets": [
- "string"
], - "projects": [
- "string"
], - "page": 0,
- "pageSize": 0,
- "collectMetrics": true,
- "countTotal": true,
- "sign": {
- "exp": "1 hour from now"
}
}
{- "filter": {
- "value": {
- "$euclid": {
- "$euclidFilter": {
- "$eq": 89
}, - "$euclidSort": {
- "eu_dist": "descending"
}
}
}, - "featureSetId": "64e38482f084e62ddd555e46"
}, - "page": 0,
- "pageSize": 100,
- "resource": "feature_vectors"
}